package com.yx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yx.domain.entity.Menu;

import java.util.List;


/**
 * 菜单权限表(Menu)表服务接口
 *
 * @author makejava
 * @since 2023-06-04 10:18:31
 */
public interface MenuService extends IService<Menu> {

    List<String> selectPermsByUserId(Long id);

    /**
     * 根据用户ID查询
     * @param userId
     * @return
     */
    List<Menu> selectRouterMenuTreeByUserId(Long userId);
}
